<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>申请部门</title>
<body class="withvernav">
    <div class="bodywrapper">
        {{include file='/public/leftmenu.tpl'}}
        <div class="centercontent">

            <div class="pageheader">
                <h1 class="pagetitle">申请部门</h1>

            </div><!--pageheader-->

            <div id="contentwrapper" class="contentwrapper">

                <div id="basicform" class="subcontent">

                    <!--contenttitle-->

                    <form class="stdform stdform2" method="post" action="/user/saveaddusergroup">
                        <p>
                            <label>名&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;称：</label>
                            <span class="field"><input type="text" name="title" id="name" class="longinput" value="" /></span>
                        </p>

                        <!-- <p>
                                 <label>Email：</label>
                             <span class="field"><input type="text" name="email" id="email2" class="longinput" name="email" /></span>
                         </p>-->
                       
                         <table cellpadding="0" cellspacing="0" border="0" class="stdtable blogtable">
                                    <colgroup>
                                        <col class="con0">
                                        <col class="con1">
                                        <col class="con0">
                                        <col class="con1">
                                        <col class="con0">
                                        <col class="con1">
                                    </colgroup>
                                    <thead>
                                        <tr>

                                            <th class="head0">权限列表</th>

                                        </tr>
                                    </thead>

                                    <tbody>
                                        <tr>
                                            <td class="con0">

                                                {{foreach from=$menudblist item=res key=key}}
                                                <div class="contenttitle2">
                                                    <h3><input type="checkbox" name="rules[]"  value="{{$res.id}}" /> {{$res.value_txt}} </h3>
                                                </div>
                                                {{if $res.rankdates}}
                                                <br>	
                                                {{foreach from=$res.rankdates key=key item=o}}
                                                <input type="checkbox" name="rules[]" value="{{$o.id}}" {{if in_array($o.id,$power)}} checked{{/if}} /> &nbsp;&nbsp;{{$o.value_txt}} &nbsp;&nbsp;
                                                {{if $o.rankthree}}
                                                <br>
                                                {{foreach from=$o.rankthree key=key item=li}}
                                                &nbsp;&nbsp;   &nbsp;&nbsp;   &nbsp;&nbsp;<input type="checkbox" name="rules[]" value="{{$li.id}}" {{if in_array($li.id,$power)}} checked{{/if}} />      {{$li.value_txt}} &nbsp;&nbsp;
                                                {{/foreach}}
                                                <br>
                                                {{/if}}
                                                {{/foreach}}
                                                {{/if}}
                                                <br>	

                                                {{/foreach}}    


                                            </td>

                                        </tr>

                                    </tbody>
                                </table>
                        
                        <p class="stdformbutton">
                            <button class="submit radius2">Submit Button</button>
                        </p>
                    </form>

                    <br />

                </div><!--subcontent-->

                <!--subcontent-->

            </div><!--contentwrapper-->

        </div><!-- centercontent -->


    </div><!--bodywrapper-->

</body>
</html>
